/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package ac.za.cput.kleintjes.question3.dip.obeys.model;

/**
 * @author Administrator
 * Reference: www.blackwasp.co.uk/DIP.aspx
 */
public class BankAccount 
{
    public String accountNumber;
    public double balance;

    public String getAccountNumber() {
        return accountNumber;
    }

    public void setAccountNumber(String accountNumber) {
        this.accountNumber = accountNumber;
    }

    public double getBalance() {
        return balance;
    }

    public void setBalance(double balance) {
        this.balance = balance;
    }

    public void AddFunds(double value) {
        balance = balance + value;
    }

    public void RemoveFunds(double value) {
        balance = balance - value;
    }    
}
